def twoSum(self, price, target):
  l=0;r=len(price)-1
  while l<=r:
    if price[l]+price[r]==target:
      return [price[l],price[r]]
    if price[l]+price[r]<target:
      l+=1
    else:
      r-=1
  else:
    return []